package com.gla.giliair.config;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @Description:
 * @Author: Yingtian qian
 * @Date: 2021/8/23 14:04
 */
public class AlipayConfig {

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2021000117699531";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCLLh0tDTJKflaHTswBCSkM3rLlHVA6NCVb77Y+EWUvuUa1UvcW03bD0C2nnWwsOn6M3mNky6AUTfEltx7pUwbn27lZPYuihzDGRKjKPl1jbe+Un+B1fRqAyBekQZiVxeSkDJXpJ1o+1goEqeUcp4vefqkmJjDagrrJaSfhLlKfc6rCEb0+TWrOfaH9JX+RYnjgSNLDWvaqswDMWoKqiCMiNV47Y6y5BQeg2KbUkNMwwsANb9M4cbkdd/daS+imgf9X4I4I6JgZwSI3Fg19raP7YvxHo6zsLS4yhRknBXYTtC39lJEDo+6/5R4hba/wynqvIO6XVthgjAdc2YT7jItXAgMBAAECggEAFC77zCy9vk/T/ItQylWpvlQNXWyC1e35/PsmUpnzMpiLyH/flU/VSVBHTqdlqIRTFdqqT1O4QzmKXw3PTcbcmYMjve1O8qLoT9hlIe8pW+H1fHgy9NbPoR1jUE6y8gVgwumQU9+BFtuzWDnLH/ysK/fyT7X6H7YVoF+/iMhO8xB8TuATllL6mL1NhyJD9/KcSWBe8qAnV+Rs3+G1Xn1ezzBOAQ3SoHlTEnOknWZXAvgvh63gEm/XVDoUzIJNcI1Nav+ymSKJjztTUgRMCTmA/n2Zi2UUbwy5bZ6CkMY0URf1wY9+eAx20TdCTV6WzALVC5VblZd58Zumjjoc1eR1AQKBgQDBruO9k3u+Y40AazEkk9nVpTdE69yODO8Uj8UyPSlTdtIXaZGdK2EJRgSXqF89D9t6xc9aiRxklbzs7EFMOoPi+Ys4vr6ZZJ9kC5/epS6B4UQeCej9aWsPV10C0iXAbY3OG5Yiq5AVlPtr+PTSYsts2mxgud3aekno6bLq0yvHSwKBgQC39fh9xVzapcVdWznf4xEkobsicqtkhVBK73oFbpbpMJVYc/rnhLL7c6TkelYZwa3iKKqbJ5P9XQamRAuiz0JCgHVKRwJFxWCYvxTVs0iOD9ClHCZvLx4fAilgDDvNJ/leVVqowPD4QqscDbpC+sYi/cx+6sAdjAiURXMEm9hIpQKBgQCdFx9qLIvKMO41L7vNIgolaXp5cSATKtRjBfT4OXkiVBY0nRBYvM1YeyzQYOTWHt1yJ6x1jw2zW2u/ciPIExHTb3kHDlaDDYTl3TPOnoUpHK9l+b26g90stTwgRJgQCgtg5ykPd71Gc+60dVkEptK9uC79COOzB0qZGatfIOW6HwKBgG35extdQJxp26pq3hdtPJNkqGX4nWPTmuOhdJYIvekcJTwi4c1EdGeEhAAe7pgpRBVe8Fce+wbNdSsypK4pL1hoSTYla0NgstW97euvaWGcLMR4JrXzOhOZjDiiN6H3EsoFRtR5u9T+riJwRnjCSG8kwPrixgUj8QEK367SqCMNAoGBAL4fdZIF2epEAY5jYTt62sphp0dakrGelIbtCwaZ3DW3FYsfHmqX6AER762XtsorZuLIQNtoqlDAYs3pR2F6m9iK1kMzlIjuIBGRsqKXccrTOUuXBDUodxPx+iIMxvZXFEjobKNmgh0ITJ+axuls6BcsmrEPncRDxMuOz93BLoLW";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiy4dLQ0ySn5Wh07MAQkpDN6y5R1QOjQlW++2PhFlL7lGtVL3FtN2w9Atp51sLDp+jN5jZMugFE3xJbce6VMG59u5WT2LoocwxkSoyj5dY23vlJ/gdX0agMgXpEGYlcXkpAyV6SdaPtYKBKnlHKeL3n6pJiYw2oK6yWkn4S5Sn3OqwhG9Pk1qzn2h/SV/kWJ44EjSw1r2qrMAzFqCqogjIjVeO2OsuQUHoNim1JDTMMLADW/TOHG5HXf3WkvopoH/V+COCOiYGcEiNxYNfa2j+2L8R6Os7C0uMoUZJwV2E7Qt/ZSRA6Puv+UeIW2v8Mp6ryDul1bYYIwHXNmE+4yLVwIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:8080/notifyUrl";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://localhost:8080/returnUrl";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

}
